.class public Lcom/esfile/screen/recorder/picture/ui/c;
.super Ljava/lang/Object;
.source "GuideBubbleWindow.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/esfile/screen/recorder/picture/ui/c$a;,
        Lcom/esfile/screen/recorder/picture/ui/c$b;
    }
.end annotation


# instance fields
.field private a:Landroid/content/Context;

.field private b:Landroid/widget/FrameLayout;

.field private c:Landroid/view/WindowManager;

.field private d:Landroid/view/WindowManager$LayoutParams;

.field private e:Landroid/util/DisplayMetrics;

.field private f:Landroid/os/Handler;

.field private g:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/picture/ui/c$a;",
            ">;"
        }
    .end annotation
.end field

.field private h:Z

.field private i:Ljava/lang/Runnable;

.field private j:Lcom/esfile/screen/recorder/picture/ui/c$b;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 2

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->f:Landroid/os/Handler;

    .line 3
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->g:Ljava/util/List;

    .line 4
    new-instance v0, Lcom/esfile/screen/recorder/picture/ui/b;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/ui/b;-><init>(Lcom/esfile/screen/recorder/picture/ui/c;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->i:Ljava/lang/Runnable;

    .line 5
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    .line 6
    new-instance v0, Landroid/widget/FrameLayout;

    invoke-direct {v0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->b:Landroid/widget/FrameLayout;

    .line 7
    new-instance v1, Lcom/esfile/screen/recorder/picture/ui/a;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/picture/ui/a;-><init>(Lcom/esfile/screen/recorder/picture/ui/c;)V

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const-string v0, "window"

    .line 8
    invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/view/WindowManager;

    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/ui/c;->c:Landroid/view/WindowManager;

    .line 9
    new-instance p1, Landroid/util/DisplayMetrics;

    invoke-direct {p1}, Landroid/util/DisplayMetrics;-><init>()V

    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/ui/c;->e:Landroid/util/DisplayMetrics;

    .line 10
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/ui/c;->c:Landroid/view/WindowManager;

    invoke-interface {p1}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object p1

    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->e:Landroid/util/DisplayMetrics;

    invoke-virtual {p1, v0}, Landroid/view/Display;->getMetrics(Landroid/util/DisplayMetrics;)V

    .line 11
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/ui/c;->d()V

    return-void
.end method

.method private a(I)I
    .locals 0

    return p1
.end method

.method private b(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;
    .locals 9

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Les/y4;->durec_guide_item_layout:I

    const/4 v2, 0x0

    .line 8
    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 9
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->b(Lcom/esfile/screen/recorder/picture/ui/c$a;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 10
    new-instance v1, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v2, -0x2

    invoke-direct {v1, v2, v2}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    .line 11
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 12
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget v3, Les/v4;->durec_guide_window_bubble_margin:I

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v2

    .line 13
    iget-object v3, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    sget v4, Les/v4;->durec_guide_window_interval:I

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v3

    .line 14
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->c(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object v4

    invoke-static {v4}, Lcom/esfile/screen/recorder/utils/k;->a(Landroid/view/View;)Landroid/graphics/Point;

    move-result-object v4

    .line 15
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->d(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/graphics/Point;

    move-result-object v5

    if-eqz v5, :cond_0

    .line 16
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->d(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/graphics/Point;

    move-result-object v4

    .line 17
    :cond_0
    iget v5, v4, Landroid/graphics/Point;->x:I

    iget-object v6, p0, Lcom/esfile/screen/recorder/picture/ui/c;->e:Landroid/util/DisplayMetrics;

    iget v6, v6, Landroid/util/DisplayMetrics;->widthPixels:I

    div-int/lit8 v6, v6, 0x2

    if-gt v5, v6, :cond_1

    const/4 v5, 0x1

    goto :goto_0

    :cond_1
    const/4 v5, 0x0

    :goto_0
    if-eqz v5, :cond_2

    .line 18
    iget-object v6, p0, Lcom/esfile/screen/recorder/picture/ui/c;->e:Landroid/util/DisplayMetrics;

    iget v6, v6, Landroid/util/DisplayMetrics;->widthPixels:I

    iget v7, v4, Landroid/graphics/Point;->x:I

    sub-int/2addr v6, v7

    add-int/2addr v6, v2

    sub-int/2addr v6, v3

    .line 19
    sget v7, Les/w4;->durec_bubble_up_right:I

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setBackgroundResource(I)V

    goto :goto_1

    .line 20
    :cond_2
    iget v6, v4, Landroid/graphics/Point;->x:I

    add-int/2addr v6, v2

    sub-int/2addr v6, v3

    .line 21
    sget v7, Les/w4;->durec_bubble_up_left:I

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setBackgroundResource(I)V

    .line 22
    :goto_1
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->e(Lcom/esfile/screen/recorder/picture/ui/c$a;)I

    move-result v7

    if-lez v7, :cond_3

    .line 23
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->e(Lcom/esfile/screen/recorder/picture/ui/c$a;)I

    move-result v7

    invoke-static {v6, v7}, Ljava/lang/Math;->min(II)I

    move-result v6

    :cond_3
    const/high16 v7, -0x80000000

    .line 24
    invoke-static {v6, v7}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v6

    iget-object v8, p0, Lcom/esfile/screen/recorder/picture/ui/c;->e:Landroid/util/DisplayMetrics;

    iget v8, v8, Landroid/util/DisplayMetrics;->heightPixels:I

    .line 25
    invoke-static {v8, v7}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v7

    .line 26
    invoke-virtual {v0, v6, v7}, Landroid/widget/TextView;->measure(II)V

    if-eqz v5, :cond_4

    .line 27
    iget v5, v4, Landroid/graphics/Point;->x:I

    sub-int/2addr v5, v2

    goto :goto_2

    .line 28
    :cond_4
    iget v5, v4, Landroid/graphics/Point;->x:I

    add-int/2addr v5, v2

    invoke-virtual {v0}, Landroid/widget/TextView;->getMeasuredWidth()I

    move-result v6

    sub-int/2addr v5, v6

    :goto_2
    if-gez v5, :cond_5

    .line 29
    iget v5, v4, Landroid/graphics/Point;->x:I

    sub-int/2addr v5, v2

    .line 30
    :cond_5
    iget v2, v4, Landroid/graphics/Point;->y:I

    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->c(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I

    move-result p1

    div-int/lit8 p1, p1, 0x2

    add-int/2addr v2, p1

    add-int/2addr v2, v3

    .line 31
    invoke-direct {p0, v5}, Lcom/esfile/screen/recorder/picture/ui/c;->a(I)I

    int-to-float p1, v5

    .line 32
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setX(F)V

    int-to-float p1, v2

    .line 33
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setY(F)V

    .line 34
    invoke-virtual {v0}, Landroid/widget/TextView;->getMeasuredWidth()I

    move-result p1

    iput p1, v1, Landroid/widget/FrameLayout$LayoutParams;->width:I

    return-object v0
.end method

.method private c(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;
    .locals 6

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Les/y4;->durec_guide_item_layout:I

    const/4 v2, 0x0

    .line 9
    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 10
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->b(Lcom/esfile/screen/recorder/picture/ui/c$a;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 11
    sget v1, Les/w4;->durec_bubble_center:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setBackgroundResource(I)V

    .line 12
    new-instance v1, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v2, -0x2

    invoke-direct {v1, v2, v2}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    .line 13
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 14
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget v3, Les/v4;->durec_guide_window_interval:I

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v2

    .line 15
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->c(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object v3

    invoke-static {v3}, Lcom/esfile/screen/recorder/utils/k;->a(Landroid/view/View;)Landroid/graphics/Point;

    move-result-object v3

    .line 16
    iget-object v4, p0, Lcom/esfile/screen/recorder/picture/ui/c;->e:Landroid/util/DisplayMetrics;

    iget v4, v4, Landroid/util/DisplayMetrics;->widthPixels:I

    mul-int/lit8 v5, v2, 0x2

    sub-int/2addr v4, v5

    .line 17
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->e(Lcom/esfile/screen/recorder/picture/ui/c$a;)I

    move-result v5

    if-lez v5, :cond_0

    .line 18
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->e(Lcom/esfile/screen/recorder/picture/ui/c$a;)I

    move-result p1

    invoke-static {v4, p1}, Ljava/lang/Math;->min(II)I

    move-result v4

    :cond_0
    const/high16 p1, -0x80000000

    .line 19
    invoke-static {v4, p1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v4

    iget-object v5, p0, Lcom/esfile/screen/recorder/picture/ui/c;->e:Landroid/util/DisplayMetrics;

    iget v5, v5, Landroid/util/DisplayMetrics;->heightPixels:I

    .line 20
    invoke-static {v5, p1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result p1

    .line 21
    invoke-virtual {v0, v4, p1}, Landroid/widget/TextView;->measure(II)V

    .line 22
    iget p1, v3, Landroid/graphics/Point;->x:I

    invoke-virtual {v0}, Landroid/widget/TextView;->getMeasuredWidth()I

    move-result v4

    div-int/lit8 v4, v4, 0x2

    sub-int/2addr p1, v4

    add-int/2addr p1, v2

    .line 23
    iget v2, v3, Landroid/graphics/Point;->y:I

    invoke-virtual {v0}, Landroid/widget/TextView;->getMeasuredHeight()I

    move-result v3

    div-int/lit8 v3, v3, 0x2

    sub-int/2addr v2, v3

    .line 24
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/picture/ui/c;->a(I)I

    int-to-float p1, p1

    .line 25
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setX(F)V

    int-to-float p1, v2

    .line 26
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setY(F)V

    .line 27
    invoke-virtual {v0}, Landroid/widget/TextView;->getMeasuredWidth()I

    move-result p1

    iput p1, v1, Landroid/widget/FrameLayout$LayoutParams;->width:I

    return-object v0
.end method

.method private c()V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->g:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_5

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/picture/ui/c$a;

    .line 2
    invoke-static {v1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->a(Lcom/esfile/screen/recorder/picture/ui/c$a;)I

    move-result v2

    const/4 v3, 0x3

    if-eq v2, v3, :cond_4

    const/4 v3, 0x5

    if-eq v2, v3, :cond_3

    const/16 v3, 0x11

    if-eq v2, v3, :cond_2

    const/16 v3, 0x30

    if-eq v2, v3, :cond_1

    const/16 v3, 0x50

    if-eq v2, v3, :cond_0

    goto :goto_0

    .line 3
    :cond_0
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/ui/c;->b:Landroid/widget/FrameLayout;

    invoke-direct {p0, v1}, Lcom/esfile/screen/recorder/picture/ui/c;->b(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    goto :goto_0

    .line 4
    :cond_1
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/ui/c;->b:Landroid/widget/FrameLayout;

    invoke-direct {p0, v1}, Lcom/esfile/screen/recorder/picture/ui/c;->f(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    goto :goto_0

    .line 5
    :cond_2
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/ui/c;->b:Landroid/widget/FrameLayout;

    invoke-direct {p0, v1}, Lcom/esfile/screen/recorder/picture/ui/c;->c(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    goto :goto_0

    .line 6
    :cond_3
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/ui/c;->b:Landroid/widget/FrameLayout;

    invoke-direct {p0, v1}, Lcom/esfile/screen/recorder/picture/ui/c;->e(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    goto :goto_0

    .line 7
    :cond_4
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/ui/c;->b:Landroid/widget/FrameLayout;

    invoke-direct {p0, v1}, Lcom/esfile/screen/recorder/picture/ui/c;->d(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    goto :goto_0

    :cond_5
    return-void
.end method

.method private d(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;
    .locals 7

    .line 11
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Les/y4;->durec_guide_item_layout:I

    const/4 v2, 0x0

    .line 12
    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 13
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->b(Lcom/esfile/screen/recorder/picture/ui/c$a;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 14
    sget v1, Les/w4;->durec_bubble_right:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setBackgroundResource(I)V

    .line 15
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->c(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object v1

    invoke-static {v1}, Lcom/esfile/screen/recorder/utils/k;->a(Landroid/view/View;)Landroid/graphics/Point;

    move-result-object v1

    .line 16
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->d(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/graphics/Point;

    move-result-object v2

    if-eqz v2, :cond_0

    .line 17
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->d(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/graphics/Point;

    move-result-object v1

    .line 18
    :cond_0
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget v3, Les/v4;->durec_guide_window_interval:I

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v2

    .line 19
    new-instance v3, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v4, -0x2

    invoke-direct {v3, v4, v4}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    .line 20
    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 21
    iget v4, v1, Landroid/graphics/Point;->x:I

    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->c(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v5}, Landroid/view/View;->getMeasuredWidth()I

    move-result v5

    div-int/lit8 v5, v5, 0x2

    sub-int/2addr v4, v5

    mul-int/lit8 v5, v2, 0x2

    sub-int/2addr v4, v5

    .line 22
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->e(Lcom/esfile/screen/recorder/picture/ui/c$a;)I

    move-result v5

    if-lez v5, :cond_1

    .line 23
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->e(Lcom/esfile/screen/recorder/picture/ui/c$a;)I

    move-result v5

    invoke-static {v4, v5}, Ljava/lang/Math;->min(II)I

    move-result v4

    :cond_1
    const/high16 v5, -0x80000000

    .line 24
    invoke-static {v4, v5}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v4

    iget-object v6, p0, Lcom/esfile/screen/recorder/picture/ui/c;->e:Landroid/util/DisplayMetrics;

    iget v6, v6, Landroid/util/DisplayMetrics;->heightPixels:I

    .line 25
    invoke-static {v6, v5}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v5

    .line 26
    invoke-virtual {v0, v4, v5}, Landroid/widget/TextView;->measure(II)V

    .line 27
    iget v4, v1, Landroid/graphics/Point;->x:I

    invoke-virtual {v0}, Landroid/widget/TextView;->getMeasuredWidth()I

    move-result v5

    sub-int/2addr v4, v5

    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->c(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1}, Landroid/view/View;->getMeasuredWidth()I

    move-result p1

    div-int/lit8 p1, p1, 0x2

    sub-int/2addr v4, p1

    sub-int/2addr v4, v2

    .line 28
    iget p1, v1, Landroid/graphics/Point;->y:I

    invoke-virtual {v0}, Landroid/widget/TextView;->getMeasuredHeight()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    sub-int/2addr p1, v1

    .line 29
    invoke-direct {p0, v4}, Lcom/esfile/screen/recorder/picture/ui/c;->a(I)I

    int-to-float v1, v4

    .line 30
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setX(F)V

    int-to-float p1, p1

    .line 31
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setY(F)V

    .line 32
    invoke-virtual {v0}, Landroid/widget/TextView;->getMeasuredWidth()I

    move-result p1

    iput p1, v3, Landroid/widget/FrameLayout$LayoutParams;->width:I

    return-object v0
.end method

.method private d()V
    .locals 3

    .line 1
    new-instance v0, Landroid/view/WindowManager$LayoutParams;

    invoke-direct {v0}, Landroid/view/WindowManager$LayoutParams;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->d:Landroid/view/WindowManager$LayoutParams;

    const/4 v1, -0x1

    .line 2
    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->width:I

    .line 3
    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->height:I

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    instance-of v1, v1, Landroid/app/Activity;

    if-eqz v1, :cond_0

    const/16 v1, 0x3e8

    .line 5
    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->type:I

    goto :goto_0

    .line 6
    :cond_0
    invoke-static {}, Les/ic;->a()Les/kc;

    move-result-object v1

    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    invoke-interface {v1, v2}, Les/kc;->b(Landroid/content/Context;)I

    move-result v1

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->type:I

    .line 7
    :goto_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->d:Landroid/view/WindowManager$LayoutParams;

    const/16 v1, 0x128

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

    const/4 v1, 0x1

    .line 8
    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->format:I

    const/16 v1, 0x33

    .line 9
    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->gravity:I

    const/4 v1, 0x0

    .line 10
    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->windowAnimations:I

    return-void
.end method

.method private e(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;
    .locals 7

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Les/y4;->durec_guide_item_layout:I

    const/4 v2, 0x0

    .line 2
    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 3
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->b(Lcom/esfile/screen/recorder/picture/ui/c$a;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 4
    sget v1, Les/w4;->durec_bubble_left:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setBackgroundResource(I)V

    .line 5
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->c(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object v1

    invoke-static {v1}, Lcom/esfile/screen/recorder/utils/k;->a(Landroid/view/View;)Landroid/graphics/Point;

    move-result-object v1

    .line 6
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->d(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/graphics/Point;

    move-result-object v2

    if-eqz v2, :cond_0

    .line 7
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->d(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/graphics/Point;

    move-result-object v1

    .line 8
    :cond_0
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget v3, Les/v4;->durec_guide_window_interval:I

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v2

    .line 9
    new-instance v3, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v4, -0x2

    invoke-direct {v3, v4, v4}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    .line 10
    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 11
    iget-object v4, p0, Lcom/esfile/screen/recorder/picture/ui/c;->e:Landroid/util/DisplayMetrics;

    iget v4, v4, Landroid/util/DisplayMetrics;->widthPixels:I

    iget v5, v1, Landroid/graphics/Point;->x:I

    sub-int/2addr v4, v5

    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->c(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v5}, Landroid/view/View;->getMeasuredWidth()I

    move-result v5

    div-int/lit8 v5, v5, 0x2

    sub-int/2addr v4, v5

    mul-int/lit8 v5, v2, 0x2

    sub-int/2addr v4, v5

    .line 12
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->e(Lcom/esfile/screen/recorder/picture/ui/c$a;)I

    move-result v5

    if-lez v5, :cond_1

    .line 13
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->e(Lcom/esfile/screen/recorder/picture/ui/c$a;)I

    move-result v5

    invoke-static {v4, v5}, Ljava/lang/Math;->min(II)I

    move-result v4

    :cond_1
    const/high16 v5, -0x80000000

    .line 14
    invoke-static {v4, v5}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v4

    iget-object v6, p0, Lcom/esfile/screen/recorder/picture/ui/c;->e:Landroid/util/DisplayMetrics;

    iget v6, v6, Landroid/util/DisplayMetrics;->heightPixels:I

    .line 15
    invoke-static {v6, v5}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v5

    .line 16
    invoke-virtual {v0, v4, v5}, Landroid/widget/TextView;->measure(II)V

    .line 17
    iget v4, v1, Landroid/graphics/Point;->x:I

    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->c(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1}, Landroid/view/View;->getMeasuredWidth()I

    move-result p1

    div-int/lit8 p1, p1, 0x2

    add-int/2addr v4, p1

    add-int/2addr v4, v2

    .line 18
    iget p1, v1, Landroid/graphics/Point;->y:I

    invoke-virtual {v0}, Landroid/widget/TextView;->getMeasuredHeight()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    sub-int/2addr p1, v1

    .line 19
    invoke-direct {p0, v4}, Lcom/esfile/screen/recorder/picture/ui/c;->a(I)I

    int-to-float v1, v4

    .line 20
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setX(F)V

    int-to-float p1, p1

    .line 21
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setY(F)V

    .line 22
    invoke-virtual {v0}, Landroid/widget/TextView;->getMeasuredWidth()I

    move-result p1

    iput p1, v3, Landroid/widget/FrameLayout$LayoutParams;->width:I

    return-object v0
.end method

.method private e()V
    .locals 4

    .line 23
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->f:Landroid/os/Handler;

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/ui/c;->i:Ljava/lang/Runnable;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 24
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->f:Landroid/os/Handler;

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/ui/c;->i:Ljava/lang/Runnable;

    const-wide/16 v2, 0x1388

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    return-void
.end method

.method private f(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;
    .locals 9

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Les/y4;->durec_guide_item_layout:I

    const/4 v2, 0x0

    .line 2
    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 3
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->b(Lcom/esfile/screen/recorder/picture/ui/c$a;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 4
    new-instance v1, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v2, -0x2

    invoke-direct {v1, v2, v2}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    .line 5
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 6
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget v3, Les/v4;->durec_guide_window_bubble_margin:I

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v2

    .line 7
    iget-object v3, p0, Lcom/esfile/screen/recorder/picture/ui/c;->a:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    sget v4, Les/v4;->durec_guide_window_interval:I

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v3

    .line 8
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->c(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object v4

    invoke-static {v4}, Lcom/esfile/screen/recorder/utils/k;->a(Landroid/view/View;)Landroid/graphics/Point;

    move-result-object v4

    .line 9
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->d(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/graphics/Point;

    move-result-object v5

    if-eqz v5, :cond_0

    .line 10
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->d(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/graphics/Point;

    move-result-object v4

    .line 11
    :cond_0
    iget v5, v4, Landroid/graphics/Point;->x:I

    iget-object v6, p0, Lcom/esfile/screen/recorder/picture/ui/c;->e:Landroid/util/DisplayMetrics;

    iget v6, v6, Landroid/util/DisplayMetrics;->widthPixels:I

    div-int/lit8 v6, v6, 0x2

    if-gt v5, v6, :cond_1

    const/4 v5, 0x1

    goto :goto_0

    :cond_1
    const/4 v5, 0x0

    :goto_0
    if-eqz v5, :cond_2

    .line 12
    iget-object v6, p0, Lcom/esfile/screen/recorder/picture/ui/c;->e:Landroid/util/DisplayMetrics;

    iget v6, v6, Landroid/util/DisplayMetrics;->widthPixels:I

    iget v7, v4, Landroid/graphics/Point;->x:I

    sub-int/2addr v6, v7

    add-int/2addr v6, v2

    sub-int/2addr v6, v3

    .line 13
    sget v7, Les/w4;->durec_bubble_down_right:I

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setBackgroundResource(I)V

    goto :goto_1

    .line 14
    :cond_2
    iget v6, v4, Landroid/graphics/Point;->x:I

    add-int/2addr v6, v2

    sub-int/2addr v6, v3

    .line 15
    sget v7, Les/w4;->durec_bubble_down_left:I

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setBackgroundResource(I)V

    .line 16
    :goto_1
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->e(Lcom/esfile/screen/recorder/picture/ui/c$a;)I

    move-result v7

    if-lez v7, :cond_3

    .line 17
    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->e(Lcom/esfile/screen/recorder/picture/ui/c$a;)I

    move-result v7

    invoke-static {v6, v7}, Ljava/lang/Math;->min(II)I

    move-result v6

    :cond_3
    const/high16 v7, -0x80000000

    .line 18
    invoke-static {v6, v7}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v6

    iget-object v8, p0, Lcom/esfile/screen/recorder/picture/ui/c;->e:Landroid/util/DisplayMetrics;

    iget v8, v8, Landroid/util/DisplayMetrics;->heightPixels:I

    .line 19
    invoke-static {v8, v7}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v7

    .line 20
    invoke-virtual {v0, v6, v7}, Landroid/widget/TextView;->measure(II)V

    if-eqz v5, :cond_4

    .line 21
    iget v5, v4, Landroid/graphics/Point;->x:I

    sub-int/2addr v5, v2

    goto :goto_2

    .line 22
    :cond_4
    iget v5, v4, Landroid/graphics/Point;->x:I

    add-int/2addr v5, v2

    invoke-virtual {v0}, Landroid/widget/TextView;->getMeasuredWidth()I

    move-result v6

    sub-int/2addr v5, v6

    :goto_2
    if-gez v5, :cond_5

    .line 23
    iget v5, v4, Landroid/graphics/Point;->x:I

    sub-int/2addr v5, v2

    .line 24
    :cond_5
    iget v2, v4, Landroid/graphics/Point;->y:I

    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/ui/c$a;->c(Lcom/esfile/screen/recorder/picture/ui/c$a;)Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1}, Landroid/view/View;->getMeasuredHeight()I

    move-result p1

    div-int/lit8 p1, p1, 0x2

    sub-int/2addr v2, p1

    invoke-virtual {v0}, Landroid/widget/TextView;->getMeasuredHeight()I

    move-result p1

    sub-int/2addr v2, p1

    sub-int/2addr v2, v3

    .line 25
    invoke-direct {p0, v5}, Lcom/esfile/screen/recorder/picture/ui/c;->a(I)I

    int-to-float p1, v5

    .line 26
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setX(F)V

    int-to-float p1, v2

    .line 27
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setY(F)V

    .line 28
    invoke-virtual {v0}, Landroid/widget/TextView;->getMeasuredWidth()I

    move-result p1

    iput p1, v1, Landroid/widget/FrameLayout$LayoutParams;->width:I

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 3

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->f:Landroid/os/Handler;

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/ui/c;->i:Ljava/lang/Runnable;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 4
    :try_start_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->g:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->b:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->c:Landroid/view/WindowManager;

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/ui/c;->b:Landroid/widget/FrameLayout;

    invoke-interface {v0, v1}, Landroid/view/WindowManager;->removeViewImmediate(Landroid/view/View;)V

    const/4 v0, 0x0

    .line 7
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->h:Z

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->j:Lcom/esfile/screen/recorder/picture/ui/c$b;

    if-eqz v0, :cond_0

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->j:Lcom/esfile/screen/recorder/picture/ui/c$b;

    invoke-interface {v0, p0}, Lcom/esfile/screen/recorder/picture/ui/c$b;->a(Lcom/esfile/screen/recorder/picture/ui/c;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 10
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "removeView error: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "GuideBubbleWindow"

    invoke-static {v1, v0}, Lcom/esfile/screen/recorder/utils/n;->e(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    :goto_0
    return-void
.end method

.method public synthetic a(Landroid/view/View;)V
    .locals 0

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/picture/ui/c;->a()V

    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/picture/ui/c$a;)V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->g:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method public b()V
    .locals 3

    .line 1
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->h:Z

    if-eqz v0, :cond_0

    return-void

    .line 2
    :cond_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/ui/c;->c()V

    .line 3
    :try_start_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->c:Landroid/view/WindowManager;

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/ui/c;->b:Landroid/widget/FrameLayout;

    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/ui/c;->d:Landroid/view/WindowManager$LayoutParams;

    invoke-interface {v0, v1, v2}, Landroid/view/WindowManager;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    const/4 v0, 0x1

    .line 4
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/picture/ui/c;->h:Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 5
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "window add failed: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "GuideBubbleWindow"

    invoke-static {v1, v0}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 6
    :goto_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/ui/c;->e()V

    return-void
.end method
